eda055e72901df1827341f6887a4b308f5b69066,source/de/anomic/kelondro/kelondroCollection.java,kelondroCollection,sort,#,261

Before Change


        if (this.sortbound == this.chunkcount) return; // this is already sorted
        //System.out.println("SORT");
        if (this.sortbound > 1) qsort(0, this.sortbound, this.chunkcount);
        else qsort(0, this.chunkcount);
        this.sortbound = this.chunkcount;
    }

After Change


        if (this.sortbound > 1) {
            qsort(keylen, 0, this.sortbound, this.chunkcount);
        } else {
            qsort(keylen, 0, this.chunkcount);
        }
        this.sortbound = this.chunkcount;
    }